package com.jry.file;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import com.jry.common.swagger.annotation.EnableCustomSwagger2;

/**
 * 文件服务
 *
 * @author zhangsuhang
 */
@EnableCustomSwagger2
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class JryFileApplication {

  public static void main(String[] args) {
    SpringApplication.run(JryFileApplication.class, args);
    System.out.println("~~~文件服务模块启动成功~~~  \n" +
        "    _                            __   _   _        \n"
        + "   (_)                          / _| (_) | |       \n"
        + "    _   _ __   _   _   ______  | |_   _  | |   ___ \n"
        + "   | | | '__| | | | | |______| |  _| | | | |  / _ \\\n"
        + "   | | | |    | |_| |          | |   | | | | |  __/\n"
        + "   | | |_|     \\__, |          |_|   |_| |_|  \\___|\n"
        + "  _/ |          __/ |                              \n"
        + " |__/          |___/   ");
  }
}
